-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Create store view using the command line #29408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 2.4-develop
Are you sure you want to change the base?
Conversation
Hi @0m3r. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hi @0m3r! Adding of new feature need to be agreed with Magento Team first, so it could provide some delay in review. |
|
Hi @0m3r, thanks for collaboration. Because it's new functionality it should be discussed with our PO first, due to it I move this PR to on-hold column |
@VladimirZaets @sidolov @gabrieldagama is there any updates on it? 2.5 months are passed |
@ihor-sviziev @0m3r sorry for the delay, working with Product team to approve the new cool feature and set the priority for the pull request |
@magento run Magento Health Index, Semantic Version Checker |
The delivery of the new command confirmed with @nrkapoor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@0m3r thanks for the pull request! Can you please extract the business logic of store creation to a model and cover the functionality with integration tests
@0m3r the examples of integration tests can be found in Basically the integration test for
The integration test for
Integration tests have been proven to be more reliable as they are running the actual code without mocks and less fragile as they are not tied to the internal class implementation details like the sequence of calls, etc. |
@0m3r could you please cover your changes by integration tests as mentioned #29408 (comment)? |
Sorry, I do not have time right now. too many other work |
…agento2 into feature-create-store-view-command
I found some error while integration tests running and fix it. |
@sivaschenko please review my integration tests phpunit.xml <testsuite name="CreateStoreSuit">
<file>testsuite/Magento/Store/Model/CreateStoreTest.php</file>
<file>testsuite/Magento/Store/Model/GetDefaultStoreGroupTest.php</file>
</testsuite> bin/magento dev:tests:run integration -c'--testsuite=CreateStoreSuit' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@0m3r thanks for the integration test coverage! Please see my review comments.
Also, I'd like to notify you that this pull request was prioritized as P3 that will affect the processing time (We will be able to process it only after P1, P2 PRs)
dev/tests/integration/testsuite/Magento/Store/Model/GetDefaultStoreGroupTest.php
Outdated
Show resolved
Hide resolved
dev/tests/integration/testsuite/Magento/Store/Model/CreateStoreTest.php
Outdated
Show resolved
Hide resolved
dev/tests/integration/testsuite/Magento/Store/Model/GetDefaultStoreGroupTest.php
Outdated
Show resolved
Hide resolved
dev/tests/integration/testsuite/Magento/Store/Model/GetDefaultStoreGroupTest.php
Outdated
Show resolved
Hide resolved
dev/tests/integration/testsuite/Magento/Store/Model/CreateStoreTest.php
Outdated
Show resolved
Hide resolved
dev/tests/integration/testsuite/Magento/Store/Model/CreateStoreTest.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates @0m3r !
Description (*)
Create a new store view using the command line
Usage
Fixed Issues (if relevant)
Contribution checklist (*)